<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8" />
		<title></title>
	</head>
	<body>
		<button onclick="sayHello()">点击我</button>
		<script type="text/javascript">
			function sayHello(){
				alert("我爱你");
			}
			
			function sum(a,b){
				console.log("a+b="+(a+b));
			}
			
			sum(10,10);
			// for (var i = 0; i < 100; i++) {
			// 	sayHello();
			// }
		</script>
	</body>
</html>
